import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang.StringUtils;

public class Test {

    public static void main(String[] args) throws IOException {
//    	Properties props = new Properties();
//    	props.setProperty("log4j.rootLogger", "INFO, stdout");
//    	props.setProperty("log4j.appender.stdout", "org.apache.log4j.ConsoleAppender");
//    	props.setProperty("log4j.appender.stdout.layout", "org.apache.log4j.PatternLayout");
//    	props.setProperty("log4j.appender.stdout.layout.ConversionPattern", "%-5p (%20F:%-3L) - %m\n");
//        PropertyConfigurator.configure(props);

//        ScraperConfiguration config = new ScraperConfiguration("c:/temp/scrapertest/configs/test2.xml");
//        ScraperConfiguration config = new ScraperConfiguration("c:/temp/scrapertest/dddd.xml");
////        ScraperConfiguration config = new ScraperConfiguration( new URL("http://localhost/scripts/test/sample8.xml") );
//        Scraper scraper = new Scraper(config, "c:/temp/scrapertest/");
//
//        scraper.setDebug(true);
//
//        long startTime = System.currentTimeMillis();
//        scraper.execute();
//        System.out.println("time elapsed: " + (System.currentTimeMillis() - startTime));
        String test = "adfasdfasdf".replace("", "");
        test = StringUtils.replace(test, "a", "h");
       // StringUtils.substring(str, start);
        //StringUtils.indexOf(str, searchChar)
        System.out.println(test);
        List result = new ArrayList();
        //        for( int i : 1...10 ){
//        	
//        }
    }

}